org.eclipse.vtp.framework.common.commands
Interface IControllerCommandVisitor

All Superinterfaces:
ICommandVisitor
All Known Implementing Classes:
DeploymentExecution

public interface IControllerCommandVisitor
extends ICommandVisitor

A visitor capable of handling forward, include, and exit commands.

Author:
Lonnie Pryor

Method Summary
 java.lang.Object visitExit(ExitCommand exitCommand)
          Called when this visitor is passed to an exit command instance.
 java.lang.Object visitForward(ForwardCommand forwardCommand)
          Called when this visitor is passed to a forward command instance.
 java.lang.Object visitInclude(IncludeCommand includeCommand)
          Called when this visitor is passed to an include command instance.
 
Methods inherited from interface org.eclipse.vtp.framework.spi.ICommandVisitor
visitUnknown
 

Method Detail

visitForward

java.lang.Object visitForward(ForwardCommand forwardCommand)
Called when this visitor is passed to a forward command instance.

Parameters:
forwardCommand - The forward command this visitor was passed to.
Returns:
An implementation-specific result.

visitInclude

java.lang.Object visitInclude(IncludeCommand includeCommand)
Called when this visitor is passed to an include command instance.

Parameters:
includeCommand - The include command this visitor was passed to.
Returns:
An implementation-specific result.

visitExit

java.lang.Object visitExit(ExitCommand exitCommand)
Called when this visitor is passed to an exit command instance.

Parameters:
exitCommand - The exit command this visitor was passed to.
Returns:
An implementation-specific result.